ISPN-4979 CacheStatusResponse map uses too much memory

* Added in way to cache various instances in the serialization context
* Reuse equal consistent hashes and cache join info
Test that replaying a prepare command doesn't acquire the lock twice