Fuzzer to check for round-trip encoding/decoding on various types.
We need one of these for the k=v fuzzer, and it would be nice to use it elsewhere too.