isValid = function isValid(value) {
      return !Number.isNaN(value) && value != null && value !== '' && value !== false;
    }
Serialize a CMCD data object according to the rules defined in the
section 3.2 of
[CTA-5004](https://cdn.cta.tech/cta/media/media/resources/standards/pdfs/cta-5004-final.pdf).