Don't ask json to parse nil

Parsing nil was causing a crash.

Test-Information:

Ran it, Lua didn't complain about syntax