Make CSV conversion of magic columns a bit less silly

Quick fix for [this meta post](http://meta.stackoverflow.com/questions/224984/clicking-download-csv-when-using-magic-columns-returns-json).

TODO: Cleanup results conversion as a whole, it's fairly messy