json: show list of candidates in case of an error