def pack(self, dorepr=False):
        '''
        Return the serializable/packed version of the node.

        Returns:
            (tuple): An (iden, info) node tuple.
        '''
        node = (self.ndef, {
            'iden': self.iden(),
            'tags': self.tags,
            'props': self.props,
        })

        if dorepr:
            node[1]['repr'] = self.repr()
            node[1]['reprs'] = self.reprs()

        return node
Return the serializable/packed version of the node.

        Returns:
            (tuple): An (iden, info) node tuple.