Allow couchbeam_doc:extend/2 to merge 2 documents.