Converts a I2C to a JSON string. See constructor isolate for details.
@override String toJson() { return '{"class":"I2C","path":"$path","bus":$busNum,"handle":${_i2cHandle.address}}'; }