Map<String, String> toMap() { return { "keywords": keywords.join(_separator), "type": type.name!, }; }