Prefer JSON over pickle.

This allows for better diffing, and it also makes it possible to load
untrusted data from the dtb file if that becomes necessary.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>