Convert back to JSON, keeping the backend’s key names intact.
Map<String, dynamic> toJson() => { 'plan': plan?.toJson(), 'status': status?.toJson(), 'id': id, };