I want to loop through below nested json structure and want to update all the required fields, however I could achieve this through typescript but want to do this in karate