result_flattening

The tracking issue for this feature is: #70142