removed metadata template endpoints from document index