Fix parameters serialization

[#66590122]