add operator to stateevaluator in json api

Fixes #57