SPR-11505: Use deepHashCode for keys

Using deepHashCode allows for cache keys that work with methods that have arguments that are array types.