Fixes boolean conversion when fetching data from database

The data was an empty object, since:

```
$ node
> var val = new Boolean(true);
> console.log(val);
{}
> val = Boolean(true);
> console.log(val);
true
```

Cf: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean#Description