[PLAT-3655] Don't write class headers in Value objects (only used as part of Data)