LPS-37741 fix error in asset publisher (and make validators consistent, isNull didn't work for arrays of primitive types)