[BZ-1077208] preserve adapted objects identity in legacy api