Thinking of doing something bigger with this and while I'm certainly competent enough to parse your output I have to ask anyway... Any chance you could add another flag to give the -r output in JSON?
+1
I also support this idea.
Json or xml format output will be great !