returning tree collection to jade view