This happens because the REST interface protocol serializes your return value to JSON. String serialized to JSON is always double quoted. And all double quotes in string are escaped.

Try in your Ruby client to deserialize two times:

my_object = JSON.parse(JSON.parse(rest_response))