Use properly formatted `.json` files to store cached JSON.
Use properly formatted `.json` files to store cached JSON.

Previously we stored cached test responses in compact form in files that
had no extension. This change ensures that cached responses are readable
by editors which is necessary when debugging compatibility issues.

chromium/codesearch-py,chromium/codesearch-py