working with recursive iterator to loop through nested arrays. need to figure out how to get the info into the menu structure