for (Map.Entry<PropertyKey, Object> entry : source.entrySet()) {
final PropertyKey key = entry.getKey();
final Object value = entry.getValue();
writer.name(key.jsonName());
serializeProperty(writer, key, value, localPropertyView, depth+1);
}
}
writer.endObject();