I would rather do:
```javascript
var value = contact[field][k];
if ('value' in value) {
  value = value.value;
}
```

This way we don't hardcode the 'tel' field.