Made AbstractRedisRepository provide the key when deserializing from redis
Factored out boilerplate code in Redis repositories