Start to add support for hooking encoding/decoding of mapping keys