Add serialization method using XML, YAML & Marshal