refine cmd interface from parse to from_json, remove useless debug info