change order of json/url middleware.