@miha-x64 @Andreas Sinz ok thanks for the help. What looks like is going to work is to move the annotations to the data class implementing the interface. It'll lead to duplication of the annotations in the data classes, but what I really want is not to have to maintain that
toString
function