correctly generate related object resource uris