title: Unable to print string containing double quotes in GitLab CI YAML
body: <p>I'm using the <a href="https://gitlab.com/ci/lint" rel="noreferrer">CI Lint tester</a> to try and figure out how to store an expected JSON result, which I later compare to a <code>curl</code> response. Neither of these work:</p>
  
  <p><strong>Attempt 1</strong></p>
  
  <pre><code>---
    image: ruby:2.1
    script:
    - EXPECT_SERVER_OUTPUT='{"message": "Hello World"}'
  </code></pre>
  
  <p>Fails with:</p>
  
  <blockquote>
    <p>did not find expected key while parsing a block mapping at line 4 column 5</p>
  </blockquote>
  
  <p><strong>Attempt 2</strong></p>
  
  <pre><code>---
    image: ruby:2.1
    script:
    - EXPECT_SERVER_OUTPUT="{\"message\": \"Hello World\"}"
  </code></pre>
  
  <p>Fails with:</p>
  
  <blockquote>
    <p>jobs:script config should be a hash</p>
  </blockquote>
  
  <p>I've tried using various combinations of <code>echo</code> as well, without a working solution.</p>