Set encoding to UTF-8 when sending the data to the api. Also added function requestJSONObject and reverted request to return a Remote object
Making this work in Java6