refactor,using json instead of yaml. deprecate common packet