Fix signature errors

This fixes an issue where the key to a parameters dictionary is doubled encoded when generating a signature.

This caused signing errors when parameter keys include non alphanumeric characters.  Like POST of an array.

eg {@“invite[1]”:@“jon.doe”}