Updates version, adds json parser (untested) and moves string cleaning to output