parsing bitbucket payload