Middleware can access settings and urlresolver, so no need to format the
TAGS string every time