IContentFromatter has encoding,
fix T4 generator, allow array type.