export data for ERB