pub fn encode_bundle(bundle: &Bundle) -> Result<String>
Encode a bundle as NDJSON in import order: rules, then lists, then items, with no trailer.