Use -flatten from dash.el