Fix bug 34469 where ExportTask was being improperly serialized