Minor changes to ensure that ReportExporter is serialisable