Simplify generator returned data