include related ids in resources