missing encode/decode added to DsRestAPI.py
Change-Id: I6c1d12ead91d3c174abad2ab194431a8cef6dcfb
merged