Add tests for JSON encoding in the Python driver.