Using yaml.loadAll instead of load