no need of escape(Writer) so using a StringBuilder instead of the backing StringBuffer