Changed output method to allow easier visualization

Replaced JSON output with a more compact CSV that is written to disk immediately and can be read in real time by syntheticpp/kst