Fix csv and json format of datasets for importing them into database.