Change the data type of the return from string to json.