Make rails and json version requirements not so strict.