title: How to store array in Redis hashes?
body: <p>I'm very new to Redis, and looking to see if its possible to do. Imagine I'm receiving data like this:</p>
  
  <pre><code>{ "account": "abc", "name": "Bob", "lname": "Smith" }
  { "account": "abc", "name": "Sam", "lname": "Wilson" }
  { "account": "abc", "name": "Joe"}
  </code></pre>
  
  <p>And receiving this data for another account:</p>
  
  <pre><code>{ "account": "xyz", "name": "Bob", "lname": "Smith" } 
  { "account": "xyz", "name": "Sam", "lname": "Smith"}
  </code></pre>
  
  <p>I would like to keep this data in Redis in similar format:</p>
  
  <pre><code>abc:name ["Bob", "Sam", "Joe"]
  abc:lname ["Smith", "Wilson", Null]
  </code></pre>
  
  <p>And for xyz:</p>
  
  <pre><code>xyz:name["Bob", "Sam"]
  xyz:lname["Smith", "Smith"]
  </code></pre>
  
  <p>So the question is what data types should I use to store this Redis?</p>