map -package:charset -package:bytestring is:exact -package:base-compat package:foldl

Fold pairs into a map.