Encode Marshal serials in Base64 to wrokaround DB issues

See http://stackoverflow.com/questions/1906421/problem-saving-rails-marshal-in-sqlite3-db