Possibly. I can add
```
.delete_if { |k, v| v.blank? }
```
there as well if that approach is approved for https://github.com/theforeman/foreman/pull/1386.