Initial document building logic for Tag format

Signed-off-by: Vlad Velici <vlad.velici@gmail.com>