Deep object path getter/setter with tree pruning