remove pf with json for restful api.
replace gson with fastjson as unknown type encode/decode