Fix a bug caused by RouteRegistry.generate not initializing RouteParams.params to a StringMap Closes #3755