Map<String, Object?> toJson() => <String, Object?>{ 'actions': _sortedNames(actions), 'decisions': _sortedNames(decisions), };