CMS-3661 Use RenderResult instead of javax.ws.rs.Result in controller