This key will be deleted if metric.unit is nil:
```
> a = {['a']=2, ['b']=3}
> a.a = nil
> for k,v in pairs(a) do print(k,v) end
b	3
```