JsonCreator for Skill and Role.