change parameters according to the backend change.

change parameters according to the backend change.
fix bugs for parsing the json object

fix bugs for parsing the json object