Continuing to try to learn stream parsing

I’ve added a more generalised answer to the above in a new thread:

That should allow this thread to stay on the narrower topic of the example at hand.