Create dynamic Json

Thank you very much ! But how cand I adapt this assuming that I have a for each and I need to add one more property each time ?

When “For each” ends I need to have the main json and 100 properties added during the iterations.