Tidies up driver virtual interface. Passing libjansson/JSON driver tests.