return to client string instead of python object