1. Implement tsv.encode and add a basic test case
2. Rename tsv.parse to tsv.decode