Fix the JSON content type text/plain -> application/json