Fix XForm and data tree mug path differences

Swap out tree traversal for hash lookup.