change ajax data type