Modified SearchModeFormatter to take in SearchModeInfo instead of TaskInfo[]