def prepare_dict(hermes_dict):
    """
    Prepare a rhasspy type like dict from a hermes intent dict
    """
    intent = hermes_dict["intent"]["intentName"]
    out_dict = {}
    out_dict.update({"slots": {s["slotName"]:s["rawValue"] for s in hermes_dict["slots"]}})
    out_dict["intent"] = {"name": intent}
    return out_dict