We can't use [Kotlin Serialization 1.7](https://github.com/Kotlin/kotlinx.serialization/releases/tag/v1.7.0) yet as it breaks compatibility with Kotlin 1.x including Kotlin 1.9.