       contentType   = 'yaml'
 
     catch err
-      console.error '[JsonToYaml]', err
+      console.error '[JsonToYaml]', err  unless silent
 
     return { content, contentType, err }
 
 
-  yamlToJson: (content) ->
+
+  yamlToJson: (content, silent = no) ->
 
     contentType     = 'yaml'
 


module.exports = {

  jsonToYaml: (content) ->

    contentType     = 'json'


      content       = JSON.stringify contentObject
      contentType   = 'json'
    catch err
      console.error '[YamlToJson]', err  unless silent

    return { content, contentType, err }

