Ensure we don't store complex objects to avoid marshal/encoding version incompatibilities

Rails 3 typecasts the values in `attributes`, and TimeWithZone is incompatible across Rails versions. This avoids that problem.