responds with the root tree if config.allowRoot is true