Got json response from GH api & manipulated it into an arrayofhashes to then be sent to front-end