[services/federations] use config dictionary correctly and rename remotes