changes federation_upstream :uri to :uris and requires array