Map<String, dynamic> toMap() { return { "total": total, "executions": executions.map((p) => p.toMap()).toList(), }; }