[utils] update_url_query: Encode the strings in the query dict