jsonString: fix NPE in logging

	jsonString could be NULL, and logging will fail.

Signed-off-by: Arnav Gupta <championswimmer@aokp.co>