Remove todo
Update tagsToBytes to fix possible collisions