keyMapAdapters basically allows the code to use custom types as map keys. Looking at the source code it currently supports primitive boxed types, but trying to use custom type fails.
If we could configure the adapters map just like we register de/serializers, It'd be great.