Added export in JSON format

I have added export in JSON format, which is useful if the scholar.py script is being used as a part of an automated workflow.