Description
The bsoncore.Element.String method does not escape the special characters in the keys, so it does not guarantee outputting valid extended json. The specific case I encountered was a key with double quotes in it, though more special characters should be escaped according to the json spec.