CSHARP-893: Fix handling of empty string element names and dictionary key values.