Can you provide the N1QL query itself that you are using? That may help us diagnose the problem.
That said, I have a suspicion. If you are using
SELECT * FROM `beer-sample` ...
try changing that to
SELECT `beer-sample`.* FROM `beer-sample` ...
If you don’t preface the asterisk with the name of the bucket, then it wraps the result in an extra object with the bucket name as a property. This will confuse the deserializer.
Brant