Converts the object to a JSON representation.
@override String toJson() { return BytesUtils.toHexString(data); }