Two three more wishes
(1) the node to contain a way to know whether it has children (my recursive descent is very slow b/c it’s calling the API on every leaf node just in order to discover that it is a leaf)
(2) results to be returned in priority order (though it was only two more lines to do that client side in python)
(3) an API to return the whole tree below someplace. Again, save a ton of API round-trips