a bunch of hacky code to figure out how to get calendar events out of Google API