Maybe instead of scanning for temps in `/sys/class/thermal` we should use [lm-sensors](https://wiki.ubuntuusers.de/Lm_sensors/) which has a nice option `-j`to output data in json format.