title: Backbone data mapping
body: <p>For mapping my backbone models to what I get from the server I am using a technique described on the GroupOn Dev blog: <a href="https://engineering.groupon.com/2012/javascript/extending-backbone-js-to-map-rough-api-responses-into-beautiful-client-side-models/" rel="nofollow">https://engineering.groupon.com/2012/javascript/extending-backbone-js-to-map-rough-api-responses-into-beautiful-client-side-models/</a></p>
  
  <p>However, this only maps incoming data to the model.</p>
  
  <p>I would like this to go both ways, so that when I save a model, it prepares the models attributes to match the servers model.</p>
  
  <p>What would be the best solution to prepare the output of the model?</p>