Errr... why not just use their official tool?
https://www.reddit.com/settings/data-request
I sent in a request and a few days later had a bunch of .csv files containing everything I've done with my account.
OK, CSV isn't JSON - but it's pretty easy to parse or import into a database of your choice.