BUG: Fix serialization/deserialization with not Multiple but vector.

When "Multiple" is "true" or the C++ type of a Parameters is a "vector",
the array of values needs to be serialized or deserialized.