Fix support for empty results.

Don't complain about failing to parse bad JSON for results: just set them to nil
and let the later code handle the fact that there aren't any results.