this is a jackson question, there's a channel for that: #C0BLHCSHZ next time please post there
But since we're already here, I think kotlin jackson module should be able to prevent such situations, do you have it registered? If yes, and it doesn't help, then you probably should create an issue for jackson devs.