You have arrays, so that means nothing here is random, right? Like, you know every single mob that is going to be spawned and you know which group it is in before the player plays the game?
Are the groups just a lot of copies of the same type of blueprint?