json_info: do not loop forever on smart gateway egress interfaces