4-tuples
allow parsing and writing with type prefix