title: How do I return string value as json object in golang?
body: <p>I am using golang with beego framework and I have problem with serving strings as json.</p>
  
  <p>EventsByTimeRange returns a string value in json format</p>
  
  <pre><code>this.Data["json"] = dao.EventsByTimeRange(request) // this -&gt; beego controller
  this.ServeJson()
  
  "{\"key1\":0,\"key2\":0}"
  </code></pre>
  
  <p>How can I get rid of quotation marks? </p>