Escape query string values when making REST request.

Fixes issue #13204670097886