Changed restify to use "result" key instead of "data" to send result data.