Fallback to standard serialization if ActiveRecord or Mongoid parameter not saved