modified exporter to export only struct containing data