Make sure to record the actual ip object used to write the output buffer.
Add output serialization tests and improve README.md
0.3.1