add_assoc_stringl(entry, "name", name, name_len, 1);
add_assoc_stringl(entry, "type", type, type_len, 1);
add_assoc_stringl(entry, "file", file, file_len, 1);
add_assoc_stringl(entry, "name", name, name_len, 1);
add_assoc_stringl(entry, "type", type, type_len, 1);
add_assoc_stringl(entry, "file", file, file_len, 1);