Fix issue #67, giving the UG a fully operational, tested driver model.
This commit cleans up some of the driver processing code, and fixes some bugs in serializing driver code (i.e. we should use JSON consistently).