fix NSdata convert to json issue