json.writeAttribute(4, false, "value", entry.value);
json.endObject(3, true);
}
json.endCollection(2, true);
json.beginObject(1, true, "profiler");
json.beginCollection(2, true, "hookValues");
for (String h : OProfiler.getInstance().getHooks()) {
json.beginObject(3);
writeField(json, 3, "name", h);
writeField(json, 3, "value", OProfiler.getInstance().getHookValue(h));