add command
implement json output format for list command