formalize structure to fetch gapi calendar