doc: add doc for bson_writer_t.