Could this map be organized by `DBCollection` in the first place? Then we'd avoid that second pass which creates another map below.