I think result transformation is causing issues with json array values (at least in pg). Text items in arrays seem to get split into arrays of characters, and other items get converted to empty objects. Switching off result transformation eliminates the issue