Upgrade Rails & JSON gems for security