moved jsdoc to other branch
expose decodeTemplate as api
add outputFilter api