In other word, it would probably be a good idea to have:
In particular, we could have unit tests to check that, which would avoid things like
It is not the case today for thrift because of the keyAlias. For some reason, if the keyAlias is not set, we return with toThrift() the default alias. I don't think this serves any purpose though.