Change arguments dict to accept them from current_app.url_map.iter_rules() directly