Update cli.rb

added json import