Trailing junk is ignored by JSONObject.fromObject(String);