Fix regression Realm#external_service_keys caused by ActiveRecord 4.x upgrade and serialization behaviour.a