Outputs mocha test results as more usable JSON