null is valid json, return undefined
Merge pull request #1 from Raynos/patch-1

null is valid json, return undefined