@Override
 public Document create(Table table, Document entity)
     throws RESTException, ParseException, IOException {
   JSONParser parser = new JSONParser();
   String documentJson = SDKUtils.createJSON(entity.getObject());
   JSONObject response =
       (JSONObject)
           super.doPostCall(
               super.createFullURL(table) + "/documents", (JSONObject) parser.parse(documentJson));
   return r.readValue(response.toJSONString());
 }
 @Override
 public void update(Document entity) throws RESTException, ParseException, IOException {
   JSONParser parser = new JSONParser();
   String documentJson = SDKUtils.createJSON(entity.getObject());
   super.doPutCall(super.createFullURL(entity), (JSONObject) parser.parse(documentJson));
 }