use UpstreamInfo instead of raw upstream value for templates