Fixing minor crashers in JSON uploader.