Add JSON format
Update formats.py
Merge pull request #488 from SirAnthony/master

Add JSON format