parse the payload from github