Attempted clean up of T4 code with string builder