Added data upload.
Added uploading of json.