serialize({ record }) {
		const json = this._super( ...arguments );
		const { models, modelBaseName, typeKey } = this;

		for ( const [ type, model ] of models ) {
			if ( record instanceof model ) {
				json[ typeKey ] = `${modelBaseName}-${type}`;
				break;
			}
		}

		return json;
	}
@param {Snapshot} snapshot
@param {Model} snapshot.record
@returns {Object}