GROOVY-6633: In each JsonOutput.toJson method added check for null
Merge pull request #362 from bura/fix-null-to-json

GROOVY-6633: In each JsonOutput.toJson method added check for null