+ if (!v.getProperties().isEmpty()) {
+ JsonObject propertiesObject = new JsonObject();
+ for (String key : v.getProperties().keySet()) {
+ propertiesObject.addProperty(key, v.getProperties().get(key).toString());
+ }
+ item.add("properties", propertiesObject);
+ }