Fixed typo in criteria example

The criteria was using a JSON notation instead of the necessary "=" assignment.