[ronghao]modified rest api response content-type from text/plain to application/json