@bodiam groovy does some behind-the-scenes-magic for you to be able to write code like that... Kotlin tries hard to make everything explicit. you will not get around creating classes for your result, but you don't have to mirror the complete json structure -- just include what you need