Enter to send·Shift+Enter new line
Return a json-like object representing this chain.
serialize(): SerializedBaseChain