version 4.3.0. more flexible serialization and avoid scoped deprecation message in Rails 4