def compose_dict_obj(raw_data, keys, search_words):
    """
    Return a dictionary of selected keys from raw_data
    """
    d = {}
    for key in keys:
        if key == "keyword":
            d[key] = search_words
        else:
            d[key] = raw_data.get(key)
    return d