How to fix the pain of modifying Kotlin nested data classes

How to fix the pain of modifying Kotlin nested data classes