Revert "returning endpoint strings instead of objects"
Revert "returning endpoint strings instead of objects"

This reverts commit 2e7b0660dd347756c1e2d259449b5dec0c05184a.

TouK/vumi,vishwaprakashmishra/xmatrix,harrissoerja/vumi,TouK/vumi,TouK/vumi,harrissoerja/vumi,vishwaprakashmishra/xmatrix,vishwaprakashmishra/xmatrix,harrissoerja/vumi