support for a license as dict in json