added cli and changed json dependencies