webif: convert port attrs to strings