+1 having the same issue. Could solve this using the code below (be sure to maintain the order! doesn't take the value otherwise):response.setStatus(statusCode);
response.setContentType(ContentTypeUtil.TYPE_JSON);
response.setCharacterEncoding(CharEncoding.UTF_8);
response.getWriter().write(json.toS...