@ObjectiveCName("deepCopy:") private JsonElement deepCopy(JsonElement element){
  try {
    return gson.fromJson(gson.toJson(element,JsonElement.class),JsonElement.class);
  }
 catch (  Exception e) {
    e.printStackTrace();
    return null;
  }
}

@ ObjectiveCName ( "deepCopy:" ) private JsonElement deepCopy ( JsonElement element ) { try { return gson . fromJson ( gson . toJson ( element , JsonElement . class ) , JsonElement . class ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; return null ; } }
generate a deep copy of the object to prevent user to modify record data directly
