add from-map and to-map to serializable%