Convert from csv to json file format. Resolves issue #9.