Just in case this is of interest to anyone
I wrote a small piece of code to translate a twitter archive (which is all JavaScript/JSON) to markdown format
If you want to import twitter history to a Hugo website this might be useful
The code is in Go and uses Go templates
It is not at all polished as I only needed it to work once - but it works