Added json and index.php