Quick shell script written in php to convert csv files to json