Refactor products into json file