Fixed the XML exporter for hazard curves and maps