"Raw document" mode with PostgreSQL datasource

Hi there,

I have some legacy plugins which require “raw document” mode - but I’m using the PostgreSQL datasource which doesn’t seem to support this.

Is there some way of converting a JSON element per row (or a single row containing a JSON arrray) to a “raw document”?

cheers,
James