added .spec as json detection