So basicly I fixed it in a different matter:
While iterating through data with ipair I managed to see that data contained two functions for some reason appliable on data. When I wrote the variable as a function => data() It showed me the correct JSON String and I could use it with the json lua library to create a usable table. Thanks for your responses tho
It seems completely funny but I am actually trying to get through this for the last 2 days:
I try to access weather data through the OpenWeatherMap.org API wich seems to work fine with internet.request(url).
The problem is just that it returns me the JSON as a table instead of a String. I tried to access fields of that table but everything seems to return nil. I just can't get to access anything from that table. There are tons of JSON serialization librarys out there but they all need the JSON as a String. I am completely lost rn.
This is the API response that gets stored as a t