Fixing bad json crash.

Fixing invalid json crashing when getting info.