fixes #1785
fix wiki page xml api
hide index fields from api; closes #1739
simplify xml api methods
fix test