StringBuilder buff = new StringBuilder();
buff.append("Nodes:\n");
for (String p : nodes.keySet()) {
buff.append("Path: ").append(p).append('\n');
NodeDocument doc = nodes.get(p);
for (String prop : doc.keySet()) {
buff.append(prop).append('=').append(doc.get(prop)).append('\n');
}
buff.append("\n");
}
return buff.toString();