Using safe load for yaml.