It looks to me like you want a `com.google.common.collect.HashMultimap` but this is fine for merging as it is.