My biggest obstacle is that I don't know what the input payload looks like. But I need to convert any numerical Strings to numbers and "true" / "false" to true / false.
Do I need to recursively traverse the entire object / arrays of objects and inspect and assign each field or is there some kind of shortcut for this?
Of course, if I knew the structure of the input payload this wouldn't be a big deal. Unfortunately those are my requirements.