Correctly handle empty array in emitted YAML