2019 Sleep data from JSON to CSV or how to import to 2020

Folks, I like your application. But I didn’t use it for some period of time. I have a backup from 2019 that is in a JSON format. I tried to import this archive, with JSON inside, but got the message “sorry, something went wrong”
How could I import the JSON to the new Sleep application?