Moshi is super versatile in its ability to fairly easily adapt the representation in code to the representation on the wire. I always determine the ideal modeling that I want in code first, and then work on how to do the correct transformation in a JSON adapter second.