MultiTemplate (de)serialization