Export objects

As we need object definitions in our organization, I just created two quick and dirty scripts based on yours to extract addresses and groups the same way. Their is no big differences with the original script (variables renaming, adapted regex and create multi-line output for group members. I'm looking a way to integrate those in only one script with switches to select type of output.