title: Store array in Realm object
body: <p>I'm new to Realm in Swift. Is there any way to store an array of strings in Realm Object?</p>
  
  <p>I have a JSON Object like:</p>
  
  <pre><code>"firstName": "John",
  "imgName": "e9a07f7d919299c8fe89a30022151135cd63773f.jpg",
  "lastName": "Wood",
  "permissions": {
      "messages": ["test", "check", "available"]
  },
  </code></pre>
  
  <p>How can I store <em>messages</em> array in <em>permissions</em> key?</p>