remove reflection and just use switches. 

 a little brute force, but more understandable.

Loops in zpool list, but eliminates a lot of other cruft.
Not a problem, thanks again for clarifying.