Convert this program info to a JSON map using infoToJson to convert data attached to nodes into its JSON representation.
infoToJson
Map<String, dynamic> toJson() => root.toJson();