Contacts and addresses saved in .mab files from various Mozilla programs (like Thunderbird) can be exported in many contact/address exchange formats, including the LDIF format, as well as CSV or TAB formats.
This can be done for example using Thunderbird contacts export function from the address book.
Updated: November 10, 2022