value: function serialize() {
      var _this = this;

      return Object.keys(this.resource).reduce(function (data, key) {
        data[key] = _this.resourceSerializerFactory(_this.resource[key]).serialize();