Adding a 'tree' formatter for Collection::to()