Force json data type since that is what we're expecting

If the server does not set the right MIME type, the data might be
interpretted as a string and it does not become a JavaScript object; as
a result, all translations fail.