fix json data from server