Flatten nested data and avoid passing projetions into enumerator