@Override
    public void visit(TraceNode node) {
        Cursor current = cursors.pop();
        current.setLong(TIMESTAMP, node.timestamp());
        encodePayload(current, node.payload());
        addChildrenCursors(current, node);
    }
Serialize a {@link TraceNode} to {@link com.yahoo.slime.Slime}.

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