The toJson() methods on BasicDBObject, Document, and BsonDocument default to JsonMode.STRICT, but based on the Extended JSON spec they should default to JsonMode.RELAXED.
As this a a major backwards breaking change, it is being deferred to a major release rather than being included in 3.5.0 along with the rest of the implementation of that specification.