Hi, welcome to the forum.
The xml you posted isn't valid, which means we can't copy and paste it into our own command trees to see and test the command.
Can you try again to copy and paste the command in question from your command tree? (See my signature for the link to posting commands on the forum, if you're not yet familiar with how to copy xml to and from the editor window).
Thanks.
That said, if you start with the standard Hue configuration that comes with VC it might be easier, as you'll have a good range of examples to build from.
In that configuration, try adapting the command called "What are my groups called", which I believe is in the Hue Get Status Info command group. You'll see that rather than getting "lights" info from Hue, it's getting "groups" info.
If you replace the RegexSingle action in that command with:
name":."(.*?)".*?all_on":.(.*?),
it should show you a list of all group names and whether each group is on ("true") or off ("false").
If that's what you want, the command can then be adapted to the phrasing and response that you want.