If everything talks with stirngs, it is really easy and I can just use Strings, but how could I have a kind of dynamic parameter that could be Int, Float… I can do that really easily in code with interfaces and generics. But when it is time to do it as a serialized type (using kotlinx.serialization) it is not as clear what would be a good way to do it.