Get a value by key

Retrieve a string or object value from the key-value store by its key.