You can use raw: true in the query, but this does not always behave as you might expect, especially with associations.
query({ // ... raw: true }).then(function(result) { // Result is JSON! });
However, in the case when you use associations, you can get something like this:
{ foo: true, "associated.bar": true }
Instead of what you can expect:
{ foo: true, associated: { bar: true } }
source share