serialization of VS data