Use URI and CGI to convert query string into a hash