Change of output file
Removed CSVWriter, using json instead of simplejson
Added a more standard json output