toJson returns the string representation of the enum value.
String toJson() => _$PackageLanguageEnumMap[this] ?? 'UNKNOWN';