Fatch Api Solution
/*
Parses the JSON returned by a network request
@param {object} response A response from a network request
@return {object} The parsed JSON, status from the response
*/
function parseJSON(response) {
return new Promise((resolve) => response.json()
.then((json) => resolve({