Creating a json file to products and calling in app script.