Refactored serializable_hash

Better matches the activerecord adapter in carrierwave core