adds decoding of params in the query string.