Array cast to avoid a fatal openscholar/openscholar#3169

Github pushes out a json object.  Github's api lib fetches json and renders it as an array.  Guess I need to handle both.