refactor parser.py
now support bare string and array xpaths
add more ignore