Added YAML::dump, changed YAML::open to YAML::load