adding json-mode directory