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