Converts a data structure to JSON format
data = favor_struct2json(st)
The data in JSON format
The data structure
Converts the data structure into JSON format. The data structure is obtained from the function favor_CreateData.