[Serializer] Fixed fatal error in normalize/denormalizeObject.