CSHARP-1001: Fix certain output formats of JsonWriter.