Generalize stonith table for other data types

An untested proof of concept. Probably won't work, but at least I'll
know what I wanted to do, when I come back to work on Monday.