fix CookbookResource.all to return a usable result