Bug fixes for order upload. Move from json.org to gson for conversion of
java objects to json.