I declared a data class in a Kotlin function, but the data is empty after gson conversion.
fun writeAndFlush(context: S