Java YAML serializer.