Serializes this knob into a JSON-compatible map.
@override Map<String, dynamic> toJson() => {'value': value > 255 ? '0x${value.toRadixString(16)}' : value};