map -package:charset is:exact -package:bytestring -package:containers package:foldl

Fold pairs into a map.