Convert non-string data to JSON for logs;