tree:

traversePath(tree, path)

Given a slash-separated path like “foo/bar”, this traverses the keys “foo/” and “bar” and returns the resulting value.