dataStream.put(entry.getKey(), entry.getValue());
}
aim.put("dataStream", dataStream);
aim.put("imageText", ai.getLabel());
List<String> parents = ai.parents();
JSONArray parentList = new JSONArray();
for (String string : parents) {
parentList.add(string);
}
aim.put("parents", parentList);