Unit test runner with structured JSON output of results and resource usage