The `RequestItem` type is generated as a `Union` but requires special manual handling (as with the SearchRequestItem) to serialise as NDJSON.