If you’re trying to edit a specific monstergroup that already exists . . . In your mod folder, create a new JSON. Copy-paste the monster group from the default file.
Add this line
"override": true,
This should replace the existing monstergroup with yours, provided you’re using the mod. Any edits you make should override the default. This was a recent change, but I’m pretty sure that’s the line.