fix: handling of potential ring-dep objects (def,list) in newstruct