Extracted the node tree from the content reference plugin.