[Idea] Enum IntCase, StringCase

I see. Well, there have frequently been topics about extending Codable synthesis to include enums with associated values (I think this is the latest one). Perhaps that, or some variant of it, would suit your needs.