copied from http://code.google.com/p/snakeyaml tag : v1.3