don't simplify regexps in JSON mode; temporary hack
edit comment