Create a new object each time you want to use a list as a key in the
second level hashmap.