nit: could we name this `GroupsDictionary` and reuse `Dictionary` from `x-pack/legacy/plugins/ml/common/types/common.ts`? It's just that looking at the consuming code I assumed `Groups` was an array (because `Jobs` was) which was a bit irritating.