JSON Support

Added optional JSON response format. Needs further testing.

Add a Comment: