bugfix: do not convert structured nodes to spans if the node is an token