Condense the urlParams helper method by introducing the build-in querystring module.