title: how to store a complex object in redis (using redis-py)
body: <p>The hmset function can set the value of each field, but I found that if the value itself is a complex structured object, the value return from hget is a serialized string, not the original object</p>
  
  <p>e.g</p>
  
  <pre><code>images= [{'type':'big', 'url':'....'},
       {'type':'big', 'url':'....'},
       {'type':'big', 'url':'....'}]   
  
  redis = Redis()
  redis.hset('photo:1', 'images', images)
  
  i = redis.hget('photo:1', 'images')
  print type(i)
  </code></pre>
  
  <p>the type of i is a string, not a python object, is there any way to solve this problem besides manually parse each fields?</p>