title: How to convert single quote into double quote in jinja template file?
body: <p>Hi I have a salt state file who has a ".sls" extension and it is using jinja template</p>
  
  <p>There I am creating a list in jinja template. Problem is when I run that file then list converts into JSON which convert double quotation around each element into single quotation which causes error.</p>
  
  <pre><code>{%- set opentsdb_hosts = [] -%}
  {%- for host in salt['pnda.opentsdb_hosts']() -%}
  {%- do opentsdb_hosts.append("http://%s:%s" % (host, opentsdb_port)) -%}
  {%- endfor -%}
  </code></pre>
  
  <p>As you can see, I am creating a list whose name is <strong>opentsdb_hosts</strong>. Each element inside <strong>opentsdb_hosts</strong> should have a double quotation around. But it is doing single quotation.</p>
  
  <p>Please help.</p>