we want NULL values instead of empty arrays if the data is missing
(AR serialization changed in 3.1 but the serialization of nil has been
fixed in Rails master. We have to backport
https://github.com/rails/rails/commit/39cb1bedb82814d7bf9de6834f88c31e4df27278
in order to keep NULL values in the db with Rails 3.2.)