on export: serialize date and remove mongodb-id