title: Ansible template adds 'u' to array in template
body: <p>I have the following <code>vars</code> inside of my ansible playbook I got the following structure</p>
  
  <pre><code>domains:
    - { main: 'local1.com', sans: ['test.local1.com', 'test2.local.com'] }
    - { main: 'local3.com' }
    - { main: 'local4.com' }
  </code></pre>
  
  <p>And have the following inside of the my <code>conf.j2</code></p>
  
  <pre><code>{% for domain in domains %}
    [[acme.domains]]
  
      {% for key, value in domain.iteritems() %}
        {% if value is string %}
          {{ key }} = "{{ value }}"
        {% else %}
          {{ key }} = {{ value }}
        {% endif %}
      {% endfor %}
  {% endfor %}
  </code></pre>
  
  <p>Now when I go in the VM and see the file I get the following:</p>
  
  <p><strong>Output</strong></p>
  
  <pre><code>[[acme.domains]]
    main = "local1.com
    sans = [u'test.local1.com', u'test2.local.com']
  [[acme.domains]]
    main = "local3.com"
  [[acme.domains]]
    main = "local4.com"
  </code></pre>
  
  <p>Notice the <strong>u</strong> inside of the <code>sans</code> array. </p>
  
  <p><strong>Excpeted output</strong></p>
  
  <pre><code>[[acme.domains]]
    main = "local1.com"
    sans = ["test.local1.com", "test2.local.com"]
  [[acme.domains]]
    main = "local3.com"
  [[acme.domains]]
    main = "local4.com"
  </code></pre>
  
  <p>Why is this happening and how can I fix it?</p>