title: How to get Powershell yaml to correctly parse strings that look like dates
body: <p>I am using powershell v5. $PSVersionTable.PSVersion returns 5.1.19041.906
  I am using the powershell-yaml module version 0.4.2 (as indicated by <code>(get-module -name powershell-yaml).Version</code>).</p>
  <p>When parsing yaml, powershell reads date-like strings as dates. For example ...</p>
  <pre><code>('Version: !!str 2012-10-17' | ConvertFrom-Yaml).Version.GetType().Name
  </code></pre>
  <p>... returns ...</p>
  <pre><code>DateTime
  </code></pre>
  <p>This is extremely wrong. The data has been explicitly tagged string, so it should instead return <code>String</code>.</p>
  <p>The problem is just as bad in the other direction. For example ...</p>
  <pre><code>@{Version = '2012-10-17'} | ConvertTo-Yaml
  </code></pre>
  <p>... wrongly returns ...</p>
  <pre><code>Version: 2012-10-17
  </code></pre>
  <p>... when the correct answer should be either ...</p>
  <pre><code>Version: !str 2012-10-17
  </code></pre>
  <p>... or ...</p>
  <pre><code>Version: '2012-10-17'
  </code></pre>
  <p>Is there are general case work-around for these bugs?</p>