Add worst self time to the output
Replace XML writer with new JSON writer