private void addChildrenCursors(Cursor current, TraceNode node) {
        Iterator<TraceNode> it = node.children().iterator();
        if (it.hasNext()) {
            Cursor childrenArray = current.setArray(CHILDREN);
            while (it.hasNext()) {
                cursors.push(childrenArray.addObject());
                it.next();
            }
        }
    }
Serialize a {@link TraceNode} to {@link com.yahoo.slime.Slime}.

@author Ulf Lilleengen
config/src/main/java/com/yahoo/vespa/config/protocol/SlimeTraceSerializer.java