title: How to store points(lat,lng) in Sails js using mongo-sails
body: <p>I am trying to store the lat, lng in my model. I have defined my model as </p>
  
  <pre><code>attributes: {
      point: {type: 'json'}
  }  
  </code></pre>
  
  <p>And i am passing the coordinates simply as [x ,y]. But it is storing the point as NULL.
  So please, if anyone knows how to deal with it, please help me.  I have no idea how to do this.</p>