Trying for an export format based on https://xmpp.org/extensions/xep-0227.html -- stuff we need a format for:
hostname, port (connection details in general, in case of manual spec in client etc)
pinned_mechanism,pinned_channel_binding,fast_mechanism,fast_token
resource
omemo stuff (prekeys, signed prekeys, cur/reg id, identities, sessions)