handle non-json results.