JSON builder keeping control of the value escaping for PHP 5.3+.