This would allow us to persist our current state easily and write a snapshot style test assert that a section matches the recorded encoded section.