Is the use of numbers required or could we replace it with something like `tblparser.type === 'header'`