Directly return cloned object without defining nested from/to functions by PssbleTrngle · Pull Request #2844 · glideapps/quicktype

Description

As described in the linked issue, the code that is currently generated for simple object properties is invalid.
Instead of emitting the to() and from() just to call them immediately, I have opted to simply build and return the created $out object.

Related Issue

#2843

How Has This Been Tested?

I was unable to correctly setup the project environment and could not test the new output.