Generalized MultiMap from Map[K, List[V]] to Map[K, F[V]]