Change /upload.json from rendering text to json (woops)