Using new StringBuilder as context writer if none provided