more places to use yaml.safe_load