program returns an object contianing the data from the JSON page