Implement the serializable interface to remove the translated html on serialization