for (Map.Entry<Id, ArrayList<String>> entry : addedNodes.entrySet()) {
for (String p : entry.getValue()) {
buff.tag('+').
key(p).object();
toJson(buff, rp.getNode(entry.getKey()), depth);
buff.endObject().newline();
}
}
// ... and removed nodes
for (Map.Entry<Id, ArrayList<String>> entry : removedNodes.entrySet()) {
for (String p : entry.getValue()) {