Add support for UNNEST

invert this