cache file readable and status msg improvment

added optional argument to json.dumps to make cache file more readable
at expense of file size. improved readability on file opening status
notes