Communication protocol for client/server architecture

Hi guys,
I’m working on a client/server architecture with openfhe installed on both sides. Do know any best practices to exchange the crypto context (not the sk) between both programms?

You can serialize/deserialize crypto-context. This example shows how to do that.