How to handle triple nested resources properly using shallow: true