fn transform_atoms_shared( atoms: &BTreeMap<String, (Option<String>, OwnedBuffer, Option<&UserAnnotations>)>, ) -> Result<(IndexMap<String, Atom>, BTreeMap<String, OwnedBuffer>), ManifestError>