add VisitorSerializer class