code: function(data, payload) {
          if (data.relationships) {
            this.extractRelationships(data.relationships, data);
          }
          payload[data.type] = data;
          delete data.type;
        }
docs: Extract top-level "data" containing a single primary data