When changing the content or structure of ParserOutput's serialization, both forward and backward compatibility must be ensured. SerializationTestTrait implements mechanisms for ensuring this, but the process needs documentation, especially for creating tests that ensure forward compatibility.
This doumentation needs to be linked in places that developers would typically touch when making the relevant changes, to allow it to be discovered naturally.