implement Export and RegisterExport with Text format