break;
case PATH:
Map<String, Object> props = new HashMap<String, Object>();
props.put("class", o.getClass());
int idx = referenceStack.indexOf(o);
PathCapturingJSONWriterWrapper pcWriter = (PathCapturingJSONWriterWrapper) writer;
props.put("ref", String.format("root%s", pcWriter.getStackReference(idx)));
value(props);
break;
case IGNORE:
break;
}