should use the couchexport constant (i think?)