Fixes json routes when using rq-dashboard from a url_prefix other than /