[aenetworks] improve format extraction