reusing stringifyParams()