fixing ParameterEncoder to correctly encode multiple metrics in report calls