Why not simply skip inserting into @collectd if the value is an empty string? (Avoids scanning the whole hash  every time, even if it's empty)