dojo object to url with query string