I\'m using MongoDB via the official C# driver with an ASP.NET MVC web site.
I have the following C# model:
public class Contact { public ObjectId Id
I think you need to tweak your JSON serializer a bit more. Try this:
var jsonWriterSettings = new JsonWriterSettings { OutputMode = JsonOutputMode.Strict }; Console.WriteLine(document.ToJson(jsonWriterSettings));