Hierarchy Tree Customization

I imagine it will need to look like this:
image

Custom property on the repeater called Master Dataset to use for filtering collapsed templates out of the repeater:
image