fix AtomFormat elements escaping