Sideload n-deep related resources in compound documents