Make JsonUtils null-safe (output "null" string in json instead of a stack trace)