## to_entries Map Given a sample.yml file of: ```yaml a: 1 b: 2 ``` then ```bash yq eval 'to_entries' sample.yml ``` will output ```yaml - key: a value: 1 - key: b value: 2 ``` ## to_entries Array Given a sample.yml file of: ```yaml - a - b ``` then ```bash yq eval 'to_entries' sample.yml ``` will output ```yaml - key: 0 value: a - key: 1 value: b ```