filter outputs by result structure