Invalid json fix
Merge pull request #196 from rendom/master

Invalid json fix