Fix issue in `std.json` when `null` is returned instead of empty string/array.
Merge pull request #1239 from denis-sh/std.json-improvements-2

Fix issue in `std.json` when `null` is returned instead of empty string/array.