Added json responses
Merge pull request #4 from neowinx/master

Added json responses