export database with added metadata fields in cartitems and orderitems