Fixed bug with not creating corrent JSON for hourly data. I need to learn more about sed/awk...