Reads a CSV file and outputs a JSON version of it.