So: *the example observation you just listed is a **Result** not a procedure*. I make this conclusion based on its `templateId`. In general, I think we may have to deal with "sorting C32 entries into JSON buckets" based on `templateId` rather than by which XML section they appear in, if the XML sections are unreliable.

The design goal should be: the JSON structures that are grouped together (Results array; Procedures array) should have a common shape. So it would be weird to have a JSON "Results" array with some results and some procedures in it (to my mind at least).

So