polished DictionaryCodec