switch to json format.
fix json load.