extractMeta( store, type, payload ) {
		/* istanbul ignore next */
		if ( !payload ) { return; }

		const data = {};
		const dataKey = this.modelNameFromPayloadKey();
		for ( const [ key, value ] of Object.entries( payload ) ) {
			if ( key === dataKey ) { continue; }
			const type = typeof value;
			switch ( key ) {
				case "pagination":
					if ( type === "object" && hasOwnProperty.call( value, "cursor" ) ) {
						data[ "pagination" ] = {
							cursor: String( value[ "cursor" ] )
						};
					}
					break;
				default:
					// ignore non-primitive values
					if ( type === "string" || type === "number" ) {
						data[ key ] = value;
					}
			}
			delete payload[ key ];
		}

		return data;
	}
Extract metadata and remove metadata properties from payload
Everything except the model-name (overridden by normalizeResponse) is considered metadata
@param {DS.Store} store
@param {DS.Model} type
@param {Object} payload