Use ImmutableMap collector in EnumStringCodec