Test JSON representations of responses in OpenApi