handle different output format

Handle output tiers with [[]. [],...]  format