remove some deprecations in use of SnakeYaml
patch by dbrosius reviewed by jbellis for cassandra-5606