switching to Representation-based serialization