fn transform_in_memory_package_annotations( package: Option<&Package>, fs: &IndexMap<String, PathBuf>, ) -> Result<IndexMap<String, Value>, ManifestError>