General function to create bidirectional converters for key-value pairs. In order to use this function you need to create TomlBiMap for your type and AnyValue:
_MyType :: TomlBiMap MyType AnyValue
And then you can create codec for your type using match function:
myType :: Key -> TomlCodec MyType
myType = match _MyType