optimize serialization for CAS when big objects