Input CSV file is now expected to contain a header, and calls to json.dump() now use 'sort_keys=True' to sort dictionaries by key.