WIP: switch to using couch_mrview list functions