def extract_category(report, key):
    """
    Create a dict from a classification report for a given category.
    Args:
        report: The report
        key: The key to a category on the report
    """
    result = report.get(key)
    result['category'] = key
    return result