title: Can't pretty print json from python
body: <p>Whenever I try to print out json from python, it ignores line breaks and prints the literal string "\n" instead of new line characters.</p>
  
  <p>I'm generating json using jinja2. Here's my code:</p>
  
  <pre><code>print json.dumps(template.render(**self.config['templates'][name]))
  </code></pre>
  
  <p>It prints out everything in the block below (literally - even the quotes and "\n" strings):</p>
  
  <pre><code>"{\n    \"AWSTemplateFormatVersion\" : \"2010-09-09\",\n    \"Description\" : ... 
  </code></pre>
  
  <p>(truncated)</p>
  
  <p>I get something like this whenever I try to dump anything but a dict. Even if I try json.loads() then dump it again I get garbage. It just strips out all line breaks.</p>
  
  <p>What's going wrong?</p>