- flatten nested "lindex" structures