Fixed bug with the response content type for a REST request