Fix for CSHARP-674

If the value of a KeyValuePair is null, use the Object serializer; otherwise, grab the serializer for the value type.