message: Separate existing logic and new logic for draft metadata page
diff: @@ -31,7 +31,12 @@ export default class NodeLicenseTransform extends Transform {
  }
  serialize(value: NodeLicense): SerializedNodeLicense | undefined {
  - if (!value || Object.entries(value).length === 0) {
  + if (!value) {
  + return {};
  + }
  + // Setting this to undefined will prevent nodelicense from being serialized
  + // in the draft registration metadata workflow if the user has not updated it.
  + if (Object.entries(value).length === 0) {
  return undefined;
  }
  