A serializer for an instance of Uri. The instance will be serialized by encoding it as a String. It will be deserialized by parsing the string to a Uri object.