title: Mongoose - altering the contents of query result records
body: <p>I have a collection of records which have certain specific properties that I need for internal use, however when I send the results back to the user I would like these properties to be re-arranged.</p>
  
  <p>Specifically I have a <code>geo</code> array that I would like to break up into <code>lat</code> and <code>lng</code> properties.</p>
  
  <p>I am using Mongoose, and was wondering if there was a way to use a <code>pre/post</code> hook (I've used it for 'save') on record results during searches, to modify the records before the results are returned.</p>
  
  <p>So, in the DB if we had:</p>
  
  <pre><code>{
    name: 'Foo Bar',
    geo: [-0.12, 32.17]
  },
  {
    name: 'Pizza',
    geo: [-0.09, 34.51]
  }
  </code></pre>
  
  <p>The results from the query would be:</p>
  
  <pre><code>{
    name: 'Foo Bar',
    lat: 32.17,
    lng: -0.12
  },
  {
    name: 'Pizza',
    lat: 34.51,
    lng: -0.09
  }
  </code></pre>
  
  <p>Any ideas how to do this?</p>