Currently I get back a JSON response like this...
{items:[ {itemId:1,isRight:0}, {itemId:2,isRight:1}, {itemId:3,isRight:0} ]}
I want
Since Node implements the EcmaScript 5 specification, you can use Array#filter on obj.items.
obj.items