This is a lil' piece of code I wrote to convert csv to json for an unrelated project I'm working on.