some minor changes on the active record serialization of csvs. Added a few tessts.