An ActiveRecord extension to add serialized hash fields that act like objects