add ResolutionsToResolvedDeps func for converting