I'm wondering... Maybe I can do this from API side? I'm looking at documentation. There are some functions to get buddy list, conversations etc. I try use this and generate output file.