put PrimitiveTypes2StringWrites in core