symbol values are also converted to strings, I rewrote the test as follows:

```ruby
x = JsonDataType.new payload: {"string" => "foo", :symbol => :bar}
assert_equal({"string" => "foo", "symbol" => "bar"}, x.payload)
```