What should I do to my DHT22 sensor provide Json??

Simply format your data in to a JSON formatted string according to your hosts specifications?

https://www.w3schools.com/