Add the normalizeQueryString() method to the Environment class