An easy way to build a tree of nested objects.