title: Realm is returning an empty object when I convert it to an array
body: <p>Using Realm in a Swift application. I'm fetching users from Realm and want to return an array of users (as my app also uses Parse, it's easier if they are all arrays I'm guessing). </p>
  
  <p>Here is my code: </p>
  
  <pre><code>class func fetchUsersFromDB() -&gt; [User]{
      var users = [User]()
      let realm = Realm()
      var allUsers = realm.objects(User)
      users = Array(allUsers)
      return users
  }
  </code></pre>
  
  <p>When I do a dump of <code>allUsers</code> I can see a Realm result. But when I dump <code>users</code> it shows me the object with default values. </p>
  
  <p>Any ideas what I'm doing wrong? </p>
  
  <p>Here is how I declare the User model</p>
  
  <pre><code>class User: Object {
      dynamic var objectId: String = ""
      dynamic var username: String = ""
      dynamic var password: String = ""
      dynamic var emailVerified: Bool = false
      dynamic var email: String = ""
      dynamic var firstName: String = ""
      dynamic var defaultRelationshipId: String = ""
      dynamic var picture: NSData = NSData()
      dynamic var updatedAt: NSDate = NSDate()
      dynamic var createdAd: NSDate = NSDate()
  
      override static func primaryKey() -&gt; String? {
          return "objectId"
      }
  }
  </code></pre>