Sorry, I misread your code. Maybe stream is just too old to work. Maybe we can add the attribute Stream to the jsonMessage struct as a fast fix. What do you think? Does it work?

Then you can adjust your code that parses to get the image ID.