simplified implementation of node-key-to-hierarchy
v1.0.7 with some helper fns for setting default handlers