Serialize to a JSON-compatible map.
Map<String, dynamic> toJson() => { 'id': id, 'label': label, 'features': features, 'createdAt': createdAt.toIso8601String(), };