fixed Grouper doesn't always return correct result

This should resolve issue with json data type in Postgresql.

You can now define table as:

```
db.define({
    name: "User",
    columns: {
        id: {primaryKey: true},
        name: {},
        metadata: {dataType: "json"}
    }
});