// throw new MicroKernelException("Node not found at path " + path);
}
JsopStream json = new JsopStream();
boolean includeId = filter != null && filter.contains(":id");
includeId |= filter != null && filter.contains(":hash");
json.object();
n.append(json, includeId);
if (maxChildNodes == -1) {
maxChildNodes = Integer.MAX_VALUE;
}
// FIXME: must not read all children!