Reformatting for fetch.php