remove reflection and just use switches. 

 a little brute force, but more understandable.

Loops in zpool list, but eliminates a lot of other cruft.
Sure thing, always glad to do code review.