Add support for UNNEST

rename `j` to something more descriptive like `unnesterChannelIndex`