Format output

Initial output formatter, removes commas that are messing up with the
CSV