CSV to JSON importer/exporter in Rails 3