Turn an object into an encoded URI parameter string.