support $gte and $lte in JSON query