Encode output as JSON
Add citations computation
Merge pull request #1 from uwescience/whitaker_json

Use JSON encoding; emit citations as a JSON list