Changing this to use two `map` calls and a `_.flatten`, which seems close enough.