add a query_key method that mirrors query_string