GitHub API expects the labels var to be an array when creating issues