def METHOD_NAME(
    raw_mesh_data
):
    """
    Converts raw dictionary data from JSON or YAML file to proper dict
    for importToolsFem.make_femmesh(mesh_data). This is necessary since
    JSON and YAML save dict keys as strings while make_femmesh expects
    integers.
    """
    mesh_data = {}
    for (type_key, type_dict) in raw_mesh_data.items():
        if type_key.lower() != "groups":
            mesh_data[type_key] = dict([
                (int(k), v) for (k, v) in type_dict.items()
            ])
    return mesh_data