Fixed bug when receiving json
Merge pull request #8 from skolos/master

Fixed bug when receiving json