tokenid and tokendata are now Buffers internally