I typically create a map when translating my enum to an API value. And another map when translating from API value to an enum. Each map would basically have a single responsibility. This all makes sense as serialization and de-serialization are different responsibilities. So you'd have a map for each.