Improved the parsing of kioskweb.php response