At some point, we may want to implement a custom marshaler when writing bson document to avro. Today we use the default `json.Marshal`.