Serializes the program.
@override Map<String, dynamic> serialize() { return { "root": root, "dataHash": dataHash, "creatorHash": creatorHash, "nonce": nonce, "index": index }; }