Add csv output format

Convenient format for importing into other applications and for using
with shell scripts

Also fix a minor typo