fixed ampersand issue when writing a json response render