cli interface for original json module