Only install json gem on 1.8