Only return keywords that are CORE.

def filter_core_keywords(keywords):
    """Only return keywords that are CORE."""
    matches = {}
    for kw, info in keywords.items():
        if kw.core:
            matches[kw] = info
    return matches