Support for persistence of Realm in NoSQL based implementation