Use CouchDocument from new backend (#4475).