I am trying to convert my parameters into a string in order to send an api request. However, my current function replaces the spaces in the parameters into \'%20\'. How do I cha