@SuppressWarnings("unchecked")
    private static Class<YamlProcessor> loadImplClass() {
        try {
            return (Class<YamlProcessor>) CLASS_LOADER.loadClass(CLASS_NAME);
        } catch (final ClassNotFoundException ex) {
            throw new LinkageError("Dependencies for Yaml are not loaded correctly: " + CLASS_NAME, ex);
        }
    }
Serializes an object into a YAML String.

@param data Object.
@return YAML string.
embulk-core/src/main/java/org/embulk/config/YamlProcessor.java