Implement licenses mapping

Map also `licenses` attribute as requested by issue #3