Generalized models reveal stabilizing factors in food webs