Making cacheToFile  key more resilient against mixed/nested types
Merge pull request #2559 from willmorgan/cachetofile-arguments

Making cacheToFile  key more resilient against mixed/nested types