title: Cannot set QVariantMap as QML property
body: <p>I want to export a <code>QVariantMap</code> property to QML, so I'm doing</p>
  
  <pre><code>Q_PROPERTY(QVariantMap myData READ myData)
  </code></pre>
  
  <p>and in myData() function I just do</p>
  
  <pre><code>QVariantMap map;
  map.insert("ExampleKey", "key");
  return map;
  </code></pre>
  
  <p>and in QML either</p>
  
  <pre><code>myData.ExampleKey //undefined
  </code></pre>
  
  <p>or</p>
  
  <pre><code>myData["ExampleKey"] //undefined
  </code></pre>
  
  <p>Could someone point me in the right direction to be able to use this as a simple JS object?</p>