Factorize print_info and interpret_resol_info

See discussion here.