Change YAML type to data