adding a function to easily cast between textgrids and labs could make certain use cases more efficient