Hey!
I've started creating an open-source JSON exporter for Twine 2.
I'm currently using it to non-story stuff, like creating tree structures/graphs by feeding the data to Twine 2.
It's not super clean yet, but gets the work done for me.
Check it out:
https://github.com/cauli/TwineJson