def kegg_properties_to_models(kegg_attributes):
    """Modify the kegg attribute dictionary to match the db '{}_id' formatting.

    :param dict kegg_attributes: kegg description dictionary
    :rtype: dict
    :return: dictionary with bio2bel_kegg adapted keys
    """
    return {
        '{}_id'.format(key.lower()): value
        for key, value in kegg_attributes.items()
        if len(value) < 255
    }