fixed filtering of ndb json requests