Reformat response code data