title: STDOUT json format with system command
body: <p>I have the following example where I want to output a variable in the same json format with os.system (the idea is to output with a system command) but the double quotes are ignored in output.</p>
  
  <pre><code>import json
  import os
  import requests
  
  PAYLOAD_CONF = {
      "cluster": {
        "ldap": "string",
        "processes": 22
      }
  }
  
  paystr = (str(PAYLOAD_CONF))
  paydic = (json.dumps(PAYLOAD_CONF))
  
  os.system("echo "+paystr+"") 
  os.system("echo "+paydic+"")
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>{cluster: {processes: 22, ldap: string}}
  {cluster: {processes: 22, ldap: string}}
  </code></pre>
  
  <p>Can you help me in a workaround where I can output this with double quotes? It's very important to output with system command.</p>