Use flatten-list to flatten values