fixed minor error / now converting json response to int before throwing ParkingException