We can't use Kotlin Serialization 1.7 yet as it breaks compatibility with Kotlin 1.x including Kotlin 1.9.