Returning json data in callback instead of writing it to file
Moved call to updateRepo into async.series