Formats/beautifies YAML strings, converting YAML content into a readable format with hierarchical indentation, and validates YAML syntax