def test_json_serialization(name, serialize, deserialize, benchmark):
    ser_data, des_data = benchmark(run_client_test, name, serialize, deserialize)
    msg = "\n%-11s serialize: %0.3f  deserialize: %0.3f  total: %0.3f" % (
        name, ser_data, des_data, ser_data + des_data
    )

    print(msg)