Output pk of object if exist, when depth has exceeded