Implemented wrapping and unwrapping of JS functions and Io methods, enabling things like returning Io methods and calling JS functions in nested objects