set serialization to mixed