Use license object instead of licenses array

BS3 commits: 119ed54bd112b369f260f96349fd1893711fea41