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

Fold pairs into a map.