refactor csv and json to seeds file