Access nested foreach with toStructure()

Thanks HeinerFF!

It is working now :slight_smile: