It's worth adding an extra assertion here to check that the values are being correctly serialized.