Iterator<String> lIterator = sharedObjects.getKeys().iterator();
while (lIterator.hasNext()) {
String lKey = lIterator.next();
Object lVal = sharedObjects.get(lKey);
if (lVal instanceof Collection) {
jsonStringer.key(lKey).array();
for (Object item : (Collection) lVal) {
jsonStringer.value(item);
}
jsonStringer.endArray();
} else {