Parsing data from a sensor

I am trying to grab data from a sensor, which are departure times for the tram at KVB station 245.
I would like for home assistant to tell me;

“The next line 5 departure in direction of […] is departing in […] minutes.”

I believe it should resemble the template example in the developer tools section as follows:

Imitate available variables:

{% set my_test_json = {
“temperature”: 25,
“unit”: “°C”
} %}

The temperature is {{ my_test_json.temperature }} {{ my_test_json.unit }}.

which returns “The temperature is 25 °C.”

Example of the raw data from the sensor

I just can seem to get it to work. Any help would be much appreciated.