Now object deserialization doesn't return a generic Object but the serialized type.