turn ServerState into Map