Added json handling
Merge pull request #3 from caharsha/watson-frontend

Added json handling