See comments in lint.rb re ResourceDescriptorValidator.new. Can get yml_output from resource_descriptor.descriptor_document