Serializes this TED to a transportable string (same as toString).
Returns: Encoded string representation (format 0 or 1)
@override Object serialize() => toString();