Create query strings when constructing paths from routes.