new interface, change to json format.
new interface.