@override Map<String, dynamic> toJson() { return { 'stages': stages.map((e) => e.toJson()).toList(), }; }