Comment 11 for bug 1554970

@aelagin
It is known issue, that json is broken with -C
https://github.com/lyonel/lshw/commit/67921217b14b8ae4e16bb63a93587a0106d93624

So can we use this:
lshw -xml -sanitize -C network -C storage

And convert this valid xml to json using ruby?