Fix unicode string serialization problem

I got `SerializationException` in tests `settings_provider_can_save_and_retreive_japanese_string` and `settings_provider_can_save_and_retreive_list_with_japanese_characters`. This commit fix the problem.