Fixed hazard_curves_to_hazard_map_task to use the right decorator