Using yaml.safe_load so only standard YAML tags are parsed.