select: Make BH templates

Close #569 
`tParam` works when we need to get something deeper in the tree but for current case we need to get it in base template so we must use `json` field (as all kinds of `apply` in `BH` revert context) which is different for elements.