Add in percent encoding of params