Add function exporting data with original structure