starts working on internal api: simplify tag args parsing