Check the need values are being correctly serialized.