make Stringer become a Serializable object