[API] new data structure for filtering results