Probably not worth the effort, but a bit more general: rather than hard-code these properties, we can collect the list of required fields dynamically, based on the API request, and pass them in (here and Video)