Switch to using $app->json so that the headers are sent correctly (applicaton/json)
Switch to using $app->json so that the headers are sent correctly (applicaton/json)

OpendataCH/Transport,OpendataCH/Transport