Exports JSON in a pretty-printed format so it can be versioned

Fixes GH-123