Added methods to save/load Hosts to/from YAML strings