added content type json to the response headers