Converts the data to a JSON representation.
@override Map<String, dynamic> toJson() { return { "received": received, "proof": BytesUtils.tryToHexString(proof), "proof_height": proofHeight.toJson() }; }