Throw in string deserialization on type mismatch