[TDS] Modify ReadValue and WriteValue API's