Added hack to undo pagoda escaping characters