Using Date of another file in batch

Hello,

I did a takeout of all my pictures i have in Google Photos.
All the pictures and metadata-json-files are set to the current date.
With Aren I could change the date of all the media files. But there are some json-files which have neither the date in their names nor in any metadata.
But there are file pairs like
IMG_9458.JPG
IMG_9458.JPG.supplemental-metadata.json

the JPG-file does have the correct date but the json doesn't.

Is there a chance to do something like
"edit the date of the IMG_9458(....).json file to the date of the IMG_9458.JPG file!"

That would be amazing!

Thanks in advance

Bene