Fix usage of deprecated jackson-yaml code.