format data return by the scan for using with netctl-auto