Could you please change your code (in order to guarantee better readability) so that the declaration and assignment is done in another code block than in the `if()` block:

``` javascript
    if(typeof value === 'string' && value.indexOf('.') > -1) {
      children = this._extractNamespace(preparedOrigin, value);
    } else {
      children = preparedOrigin[value];
    }

    if (childDescriptions.hasOwnProperty(key) && Array.isArray(children)) {
```