Remove unneeded federation keys from events