Convert query_params to a map