handle custom data nodes
Merge pull request #5043 from dimagi/custom_instance

handle custom data nodes