I am trying to export all JSON data(below) held in the response2 variable to a CSV file. When i run the full code, it only exports the first item from the response2 variable