For LSP (Language Server Protocol) we've had a need for a kind of fanning out of JSON-RPC requests. Two parties will communicate, but one might send the other a request that cannot be directly solved, but the receiver has several other parties over JSON-RPC
that it can forward the message to for processing. When doing so, the request ID has to be changed to be unique over the new connection, and then when the response comes back, it is FW'd to the original client using the original request ID.
--
Andrew Arnott
"I may not agree with what you have to say, but I'll defend to the death your right to respectfully say it. And I hope you will return the courtesy when the time comes." - my own twist on S. G. Tallentyre