Added content type header to json responses from server