Slowly getting there by refactoring to writers
Fixing the tuple example
Fixing the header panic