title: Missing double quotes for the required field using Snake Yaml
body: <p>i am trying to  read a Yaml template and replace certain fields in the template dynamically and create a new Yaml file. My resultant yaml file should reflect the template in all aspects including the double quotes. But I am missing double quotes for the required fields when I use snake yaml.
  Can anyone please suggest to resolve this issue?</p>
  
  <p>Example : </p>
  
  <h2>My yaml template is as shown below:</h2>
  
  <pre><code>version: snapshot-01
  kind: sample
  metadata:
    name: abc
  groups:
    id: "1000B"
    category: category1
  </code></pre>
  
  <hr>
  
  <p>I am reading the above template and replacing the required fields dynamically as shown below.</p>
  
  <pre><code> Yaml yaml = new Yaml();
   InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream(yamlTemplateLocation);
   Map&lt;String, Object&gt;yamlMap = yaml.load(inputStream);
  </code></pre>
  
  <p>Now I am replacing the required fields as shown below</p>
  
  <pre><code> yamlMap.put("version","v-1.0");
   Map&lt;String, Object&gt; metadata = (Map&lt;String, Object&gt;) yamlMap.get("metadata");
   metadata.put("name", "XYZ");
  
   Map&lt;String, Object&gt; groups = (Map&lt;String, Object&gt;) yamlMap.get("groups");
   groups.put("id","5000Z");
   groups.put("category","newCategory");
  
          DumperOptions options = new DumperOptions();
          options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK);
          options.setPrettyFlow(true);
  
          Yaml yaml = new Yaml(options);
          String output = yaml.dump(map);
          System.out.println(output);
  </code></pre>
  
  <p>I am expecting output as shown below</p>
  
  <h2>Expected Output :</h2>
  
  <pre><code>version: v-1.0
  kind: sample
  metadata:
    name: XYZ
  groups:
    id: "5000Z"
    category: newCategory
  </code></pre>
  
  <hr>
  
  <h2>But I am actually getting output as below</h2>
  
  <pre><code>version: v-1.0
  kind: sample
  metadata:
    name: XYZ
  groups:
    id: 5000Z
    category: newCategory
  </code></pre>
  
  <hr>
  
  <p>My problem here is, I am missing the double quotes for "id" node in the new yaml file.
  When I use, options.setDefaultScalarStyle(ScalarStyle.DOUBLE_QUOTED), I am getting all fields double quoted which is not required. I need double quotes for id field only.
  Can anyone please advice to resolve this issue.</p>
  
  <p>Thanks</p>