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

Fold pairs into a map.