Template service merge/preview should take a Writer, not return a string