start implementing the Visitor pattern
start using the SerializeVisitor to save the tikz::Document