Use license object instead of licenses array