Allow json gem versions at least 1.7 but less than 2.0