fromList package:aeson
Construct a map with the supplied mappings. If the list contains
duplicate mappings, the later mappings take precedence.
>>> fromList [("a", 'x'), ("a", 'y')]
fromList [("a",'y')]
Construct a map from a list of elements. Uses the provided function,
f, to merge duplicate entries with (f newVal oldVal).