remove unnecessary function - serializeTag