Clean Pouch metadata on the /all request too;
Noticed while reviewing ZeHiro's MR: we sent pouch metadata for each DB object on the /all request. This refactors code so this is done not only when exporting, but also when exporting everything for the initial request.