I eventually made up a quick function to "groom" the structures into something that jsonEncode wouldn't barf on:
1 Like
I eventually made up a quick function to "groom" the structures into something that jsonEncode wouldn't barf on: