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