Darksky data to Azure IoT hub

Your example shows that the contents of data is a string ( see the quotes location)

In you debug you have it as an object