Flatten 2 level repeated map