private void button_Click(object sender, RoutedEventArgs e) { string export = JsonConvert.SerializeObject(Program.Servers); FileHandler.Save(export); }