Whenever the "getObjectTemplateHelperData" is called and 2 types refer to eachother it enters an endless loop through the reference subdata fields
Did some testing. In the DocAPI editor in my testing environment, the template helper button does not resolve references anymore. Can you please have a look at that?
I put this to done, as there seems to be a bug with reference fields described in NET-595