Implement deserialize bit of object repo.