title: how to use react-native realm
body: <p>I started to use realm in my project and I have a question about retrieving the data. When I make a call to query all of the objects in my Subdivision model the return result includes the get/set methods. I must parse and stringify this before I am able to use it. I have read the docs and I do not see anything about this. Is this something that has to be done or am I missing something?</p>
  
  <p>Model</p>
  
  <pre><code>    class Subdivision extends Realm.Object { }
  Subdivision.schema = {
      name: 'Subdivision',
      primaryKey: 'id',
      properties: {
          id: 'int',
          subdivisionName: 'string',
          latitude: 'float',
          longitude: 'float',
          status: 'string',
          statusFlag: 'string',
          marketId: 'int',
          color: { type: 'int', optional: true },
          colorStr: { type: 'string', optional: true }
      }
  };
  </code></pre>
  
  <p>Setting Subdivisions</p>
  
  <pre><code>     _.each(response, (item) =&gt; {
              Realm.write(() =&gt; {
                  Realm.create('Subdivision', item);
              });
          });
  </code></pre>
  
  <p>Getting Subdivisions</p>
  
  <pre><code> let result = Realm.objects('Subdivision');
      let strRes = JSON.parse(JSON.stringify(result))
  </code></pre>