Internal
Encode a RPC message as a string using JSON. This is only done when structured cloning is not available.
Encode a RPC message as a string using JSON. This is only done when structured cloning is not available.