Correct content type header to json.