title: Ember Data serialize on fetch and deserialize on POST
body: <p>I am using ember data to get data from a remote server.
  My model definition is as follows - </p>
  
  <pre><code>App.Publisher = DS.Model.extend({
      name: DS.attr('string'),
      appName: DS.attr('string'),
      url: DS.attr('string'),
      appType: DS.attr('number'),
      streamType: DS.attr('number'),
      sslEnabled: DS.attr('number'),
      protocol: DS.attr('number'),
  
  });
  </code></pre>
  
  <p>And the response from the server is in the following format - </p>
  
  <pre><code>{
    id: 1,
    name: "aurus",
    url: "1111",
    app_name: "superprofs",
    app_type: 1,
    stream_type: 1,
    ssl_enabled: 1,
    protocol: 1,
    created_at: "2014-08-08T10:52:40.000Z",
    updated_at: "0000-00-00 00:00:00"
  },
  </code></pre>
  
  <p>But since the key from <code>server</code> is in <code>underscore</code> format and my <code>model</code> keys are <code>camelCase</code>, 
  the values from the server are not being set.</p>
  
  <p>How can I make my model keys to adapt to the format of data the server is sending(<code>underscore</code>) and then when I call save/create/update in ember js, I want the data to be sent in <code>underscore</code> format, since my server API is expecting the data in the underscore format</p>