it's in getQueryFromURI. Do you think we should have getKeyForURI?