Correctly set JSON content type