fixed an issue with the json parsing returning nil
Merge pull request #6 from dwa012/master

Json unmarshal issue