Doesn't the QUnit output handle dumping and parsing anyway? I get that this is for the command line, but wouldn't it be better to find a way to tap into QUnit's message and find a way to display that nicely?