Add exporting of flexi records. closes #119