Using cli-table for formatting ouput and output browserlsit json
Added average