add json interface descripted in doc/leshiting_datadb.doc