public String encode() {
        StringBuilder ret = new StringBuilder();
        encode(ret);
        return ret.toString();
    }
Returns a parseable (using {@link #decode(String)}) string representation of this trace node.

@return A string representation of this tree.
messagebus/src/main/java/com/yahoo/messagebus/TraceNode.java