import { underscore } from 'ember-string';
import JSONSerializer from 'ember-data/serializers/json';

export default JSONSerializer.extend({
  isNewSerializerAPI: true,

  keyForAttribute(key) {
    return underscore(key);
  }
});
