Add a function SerializeObject