updated json python script to lint specs