add filetype detection for json