consistent data export (using Rails joins). use rake data_export.