Simple API to generate and XML from a JsonObject (Gson library)