Changes to comply with Swagger spec and add support for multiple response types (e.g. application/xml) in Swagger-UI