[gapDetect] add header to first col in out matrix
[gapDetect] Fix up logging, still way too slow
[formatTSJson] Simple csv => JSON converter

SO it's flexible to changes in the format.