// we store the master record id, because that is how they are stored in the backward table
final byte[] masterTableBytes = Bytes.toBytes(dependencyEntry.getDependency().getTable());
final byte[] masterBytes = dependencyEntry.getDependency().getRecordId().getMaster().toBytes();
dataOutput.writeInt(masterTableBytes.length);
dataOutput.writeBytes(masterTableBytes);
dataOutput.writeInt(masterBytes.length);
dataOutput.writeBytes(masterBytes);
final byte[] variantPropertiesBytes = serializeVariantPropertiesPattern(createVariantPropertiesPattern(
dependencyEntry.getDependency().getRecordId().getVariantProperties(),
dependencyEntry.getMoreDimensionedVariants()));