Mmm... this actually will return some funny structure, and if you call `getValue` on it you'll receive strings with `true` or `false` as their contents.

Probably something like

```perl
push(@o, $kv) if $spec->{options}->{$kv};
```
will do a better job.