fix serialization of parameter of type map