// using gson JsonObject
List<String> tapIds = new ArrayList<String>();
for(Resource item : items.getChildren()) {
JsonObject itemObject = new JsonObject();
itemObject.addProperty("tapID", item.getValueMap().get("tapID", String.class));
tapIds.add(itemObject.toString());
}
return t...