def feature_dict(entry):
    """Template dictionary for JSON feature from TED entry"""
    corners = [*entry["corners"], entry["corners"][0]]  # create Linear Ring
    feature = {
        "type": "Feature",
        "geometry": {
            "type": "Polygon",
            "coordinates": [corners]
        },
        "properties": {
            "name": entry["name"],
            "ted-id": entry["id"],
            "description": entry["type"]
        }
    }
    return feature