title: Equivalent avro record data for map type
body: <p>I have a avro schema as below, I want an example/sample record for the schema.</p>
  
  <p>Schema:</p>
  
  <pre><code>{
     "name" : "root",
     "type" : "record",
     "fields" : [
        {
           "name" : "sub_rec",
           "type" : {
              "type" : "array",
              "items" : {
                 "type" : "map",
                 "values" : "string"
              }
           }
        }
     ]
  }
  </code></pre>
  
  <p>I tried like below, but it does not work</p>
  
  <pre><code>{
      "sub_rec" : {[
          "key1" : "val1",
          "key2" : "val2"
      ]}
  }
  </code></pre>