@classmethod
def _from_dict(cls, _dict):
    """Initialize a Category object from a json dictionary."""
    args = {}
    if 'label' in _dict:
        args['label'] = _dict.get('label')
    if 'provenance_ids' in _dict:
        args['provenance_ids'] = _dict.get('provenance_ids')
    return cls(**args)
