Flattening output format.