[misc] Prevent displaying "invalid JSON" message