Solved by wasabi in post #2 
              
              
                Answering my own question is anyone else runs into this. We can simply iterating using model.modules() or model.children() given the need.