code: function convertConfig(jsonConfig) {
    var bunyanConfig = extend({}, jsonConfig);
  
    if (Array.isArray(bunyanConfig.streams)) {
      bunyanConfig.streams = bunyanConfig.streams.map(convertStream);
    }
  
    if (bunyanConfig.serializers) {
      bunyanConfig.serializers = convertSerializers(bunyanConfig.serializers);
    }
  
    return bunyanConfig;
  }
docs: Converts jsonConfig into proper bunyan config. The original object is not modified.
  
  @param {Object} jsonConfig
  @returns {Object} bunyanConfig