Output the performance results in json at the end.