Why turn a List into a Map?