Rewrite of json.php.