pub fn encode_line(env: &Envelope) -> Result<String, HostError>
Serialize an envelope to a single NDJSON line (trailing \n included).
\n