Any reason to not just change this line to
```["boot_device", "claimed_disks"].each { |key|```
instead of adding new code?