Reformat response output.