collectags: change the format and improve the parser
import: change the format and improve the parser