Use license.name rather than license.type