generic dynamo implementation for different k-v storage engines