In addition we could also add a --topdown arg to force using JSON metricgroups.
What arg do think would be supplied?
Did you actually test this patch? I have something experimental working from some time ago, and it was more complicated than this. I need to check the code again...
I got stats back from this implementation, yes. Let me know if there's things my patch isn't catering for.