deserialization of links in instances: set objectId and type info based
on URI