Fix issue with reduce parameter serialization