Add TomDoc to deserialize