map -is:exact -package:containers is:exact -package:case-insensitive -package:imports package:foldl

Fold pairs into a map.