Correct the format of response