title: Karate match error: match failed: EQUALS $ | data types don't match (OTHER:MAP)
body: <p>I have a scenario that reads a json field from a file and compares it to another json field. When I do the match, it says the field from the file is type &quot;other&quot;. Sorry for the screen shots, but I think the print statements are helpful.</p>
  <p>This is the file, I am not sure if I can provide an example without using the file because when I set the field in the scenario, it works differently, the value of address is then a string in the match statement. It must have something to do with the data returned from the read row? This is what the data looks like that comes back from the read row:
  {
  &quot;address&quot;: &quot;{&quot;street&quot;:&quot;123 Main Street&quot;, &quot;city&quot;:&quot;Queens&quot;, &quot;state&quot;:&quot;NY&quot;}&quot;
  }
  <a href="https://i.stack.imgur.com/ftrTg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ftrTg.png" alt="file with example in it" /></a></p>
  <pre><code>Scenario: test error for stack overflow
    * def testAddress = db.readRow(&quot;select address from json_issue where person = 'Carole'&quot;)
    * print testAddress.address
    * def jsonAddressMatch =
    &quot;&quot;&quot;
    {
      &quot;street&quot;:&quot;123 Main Street&quot;,
      &quot;city&quot;: &quot;Queens&quot;,
      &quot;state&quot;: &quot;NY&quot;
    }
    &quot;&quot;&quot;
    * print jsonAddressMatch
    * match testAddress.address == jsonAddressMatch
  </code></pre>
  <p>This is the first test's results
  <a href="https://i.stack.imgur.com/6HGqn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6HGqn.png" alt="test 1" /></a></p>
  <p>I tried to see if I could convert it to json thinking it was not being interpreted as json. I added these two lines, but the value is a string so it still is not the correct type.</p>
  <pre><code>     * json addressObject = testAddress.address
       * match addressObject.value == jsonAddressMatch 
  </code></pre>
  <p>This is the second test's results using &quot;json&quot; to convert
  <a href="https://i.stack.imgur.com/bx01q.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bx01q.png" alt="test 2" /></a></p>