for restlets, you are supposed to return an object...
# suitescript
b
for restlets, you are supposed to return an object when the content type is application/json and a string when the content-type is text/plain (which is the default)