* aligned pre-commit with Makefile. added check json * add check for json/yaml files * add path checks for json/yaml validation