Move groups config from topic attribute to standalone entity