How to properly serialize evalSumKeys in threshold fhe?

I suggest reading the following thread (especially the solution): What's the best way to use openFHE on two sides?