Yeah, it made me wonder if jq could do this. Haven't looked into it but I kinda doubt it.