Added JSON Support via writeJSON method
Merge pull request #2 from ccunning2/Wei

Added JSON Support via writeJSON method