adding logging info/null checking to logged JSON
Merge pull request #1 from nlathia/master

adding logging info/null checking to logged JSON