fix the JSON support type bug