Added support for an API response if the parameter 'raw' is added to the request