Add json gem as a dependency to fix build failures with 1.9