support exporting to flat expressions