Revert "Add Deserialize support into objects"

This reverts commit d75d40629f60ffebbf318093fa0342ee2be6ab76.