Ensure integration tests are sending valid JSON
Update gems for security fix