fix lshw json issue
instead of filtering with option -class use a jq function to filter waht we want . when filtering lswh can generate invalid json data
instead of filtering with option -class use a jq function to filter waht we want . when filtering lswh can generate invalid json data