LDN-1790 Changed the getQueryString method to return the string query and not object