Added RevTag to text serialization factory