Update xhtml_to_json.php