fixed bug where model tree was not being traversed so sub models were not showing up in spec