$e->getRouteMatch() returns an object, we need a string.