fix fastjson bugs, replace it with gson