Compatibility for rails 3.2

Rails to serialize model names to symbols instead of strings. Fixed in more recent versions of Rails.