make json file for products and insert first index out off products array