title: json_query uses contains to search item within another list failed
body: <p>I have list of samples, and i want to select the item whose type is in the wanted_list.</p>
  <pre><code>- name: Get item based on anther list
    vars: 
      samples:
        - { item: 10, type: sample-1 },
        - { item: 20, type: sample-11 },
        - { item: 30, type: sample-2 }
      wanted_list: [ sample-11, sample-2 ]
      query: &quot;[?contains('{{wanted_list|to_json}}', type)]&quot;
    debug:
      var: samples | json_query(query)
  </code></pre>
  <p>Result:</p>
  <pre><code>TASK: Get item based on anther list
  ok: [localhost] =&gt; {
      &quot;samples|json_query(query)&quot;: [
          {
              &quot;item&quot;: 10,
              &quot;type&quot;: &quot;sample-1&quot;
          },
          {
              &quot;item&quot;: 20,
              &quot;type&quot;: &quot;sample-11&quot;
          },
          {
              &quot;item&quot;: 30,
              &quot;type&quot;: &quot;sample-2&quot;
          }
      ]
  }
  </code></pre>
  <p>What i expected is it will only return item 20 and 30. But it actually return all 3. It looks like sample-1 match part of the list item sample-11.</p>
  <p>But based on JMESPath doc <a href="https://jmespath.org/specification.html#contains" rel="nofollow noreferrer">contains</a>:</p>
  <blockquote>
  <p>boolean contains(array|string $subject, any $search)</p>
  <p>If $subject is an array, this function returns true if one of the elements in the array
  is equal to the provided $search value.</p>
  </blockquote>
  <p>So sample-1 is not equal to sample-11 and then it should not be selected.</p>