Flatten content structure