I am sorry the new release complicates things for you. However, nicer solutions may be at hand. Have you ever considered using OpenAPI to define your models/APIs? Using the OpenAPI generator you can easily create all models, encoders and decoders automatically. We use it to define our APIs and generate both backend and frontend code from it.
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.