ping command - avoid showing fields with blank or nil values