Add escaping '<' and '>' in toString()