changes to export basic table, json and xml formats.