Added dataType: json to the uploader. Closes #139