use ActiveRecord's ::serialize rather than Marshal