change json to string to deal with data