allow infinitely nested resources